/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APP_FILEX_API_H__
#define __APP_FILEX_API_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "app_filex.h"


uint32_t FileX_Save_Data_To_File(const char *path, uint8_t *data, uint32_t len);
uint32_t FileX_Write_File_Addr(const char *path, uint32_t addr, uint8_t *data, uint32_t len);
uint32_t FileX_Write_File_Pack(const char *path, uint32_t pack, uint8_t *data, uint32_t len);
uint32_t FileX_Read_File_Addr(const char *path, uint32_t addr, uint8_t *data, uint32_t len);
uint32_t FileX_Read_File_Pack(const char *path, uint32_t pack, uint8_t *data, uint32_t len);
uint32_t FileX_Get_File_Size(const char *path);
int32_t FileX_Delete_File(const char *path);
int32_t FileX_Create_FileSystem(const char *path);
uint32_t FileX_Get_FreeSpace(const char *path);
int32_t FileX_Mount_FileSystem(const char *path);
int32_t FileX_Umount_FileSystem(const char *path);


#ifdef __cplusplus
}
#endif
#endif


